<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<div id="app">
  <label id="lable1"></label>
  <h1>{{ msg }}</h1>
</div>
</body>

<script type="text/javascript">
    // 获取标签
    var lable = document.getElementById("lable1");
    // 设置标签内容
    lable.innerHTML = "hello world";
</script>
<script type="module">
    import {createApp} from 'https://unpkg.com/vue@3/dist/vue.esm-browser.js'
    console.log(createApp)
    createApp({
        data() {
            return {
                msg: 'hello vue222'
            }
        }
    }).mount('#app')
</script>
</html>